package com.lzy.mall.seckill.feign;

import com.lzy.mall.common.utils.ResultUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author lzy
 * @date 2021/10/14 16:03
 */
@FeignClient("mall-product")
public interface ProductFeignService {
    @RequestMapping("/skuinfo/info/{skuId}")
    ResultUtils getSkuInfo(@PathVariable("skuId") Long skuId);
}
